package com.it.chinasoft.pojo;

import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

public class CustomerTask {

    private String taskId;

    private String taskName;

    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date createDatetime;

    private String assignee;

    private String processInstanceId;

    private String executionId;

    public CustomerTask(){}

    public CustomerTask(String taskId, String taskName, Date createDatetime, String assignee, String processInstanceId, String executionId) {
        this.taskId = taskId;
        this.taskName = taskName;
        this.createDatetime = createDatetime;
        this.assignee = assignee;
        this.processInstanceId = processInstanceId;
        this.executionId = executionId;
    }

    public String getTaskId() {
        return taskId;
    }

    public void setTaskId(String taskId) {
        this.taskId = taskId;
    }

    public String getTaskName() {
        return taskName;
    }

    public void setTaskName(String taskName) {
        this.taskName = taskName;
    }

    public Date getCreateDatetime() {
        return createDatetime;
    }

    public void setCreateDatetime(Date createDatetime) {
        this.createDatetime = createDatetime;
    }

    public String getAssignee() {
        return assignee;
    }

    public void setAssignee(String assignee) {
        this.assignee = assignee;
    }

    public String getProcessInstanceId() {
        return processInstanceId;
    }

    public void setProcessInstanceId(String processInstanceId) {
        this.processInstanceId = processInstanceId;
    }

    public String getExecutionId() {
        return executionId;
    }

    public void setExecutionId(String executionId) {
        this.executionId = executionId;
    }
}
